package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class LogisticsCompanyDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column b2b_logistics_company.id
     */
    private Long id;

    /**
     * This field corresponds to the database column b2b_logistics_company.company_name
     */
    private String companyName;

    /**
     * This field corresponds to the database column b2b_logistics_company.contract_name
     */
    private String contractName;

    /**
     * This field corresponds to the database column b2b_logistics_company.contract_phone
     */
    private String contractPhone;

    /**
     * This field corresponds to the database column b2b_logistics_company.city_id
     */
    private Integer cityId;

    /**
     * This field corresponds to the database column b2b_logistics_company.province_id
     */
    private Integer provinceId;

    /**
     * This field corresponds to the database column b2b_logistics_company.city_name
     */
    private String cityName;

    /**
     * This field corresponds to the database column b2b_logistics_company.detail_address
     */
    private String detailAddress;

    /**
     * This field corresponds to the database column b2b_logistics_company.insurance_type
     */
    private Integer insuranceType;

    /**
     * This field corresponds to the database column b2b_logistics_company.insurance_imgs
     */
    private String insuranceImgs;

    /**
     * This field corresponds to the database column b2b_logistics_company.status
     */
    private Integer status;

    /**
     * This field corresponds to the database column b2b_logistics_company.memo
     */
    private String memo;

    /**
     * This field corresponds to the database column b2b_logistics_company.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column b2b_logistics_company.gmt_modified
     */
    private Date gmtModified;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getContractName() {
		return contractName;
	}

	public void setContractName(String contractName) {
		this.contractName = contractName;
	}

	public String getContractPhone() {
		return contractPhone;
	}

	public void setContractPhone(String contractPhone) {
		this.contractPhone = contractPhone;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getDetailAddress() {
		return detailAddress;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	public Integer getInsuranceType() {
		return insuranceType;
	}

	public void setInsuranceType(Integer insuranceType) {
		this.insuranceType = insuranceType;
	}

	public String getInsuranceImgs() {
		return insuranceImgs;
	}

	public void setInsuranceImgs(String insuranceImgs) {
		this.insuranceImgs = insuranceImgs;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}